package com.ruoyi.payMent.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 支付记录对象 feesinfo
 * 
 * @author ruoyi
 * @date 2025-06-24
 */
public class Feesinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long payId;

    /** 报名记录主键 */
    @Excel(name = "报名记录主键")
    private Long regisId;

    /** 关联用户表 */
    @Excel(name = "关联用户表")
    private Long uid;

    /** 实际支付金额 */
    @Excel(name = "实际支付金额")
    private Long amount;

    /** 支付状态 */
    @Excel(name = "支付状态")
    private Long status;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private Long paymentMethod;

    /** 成功支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成功支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 对退款订单操作人 */
    @Excel(name = "对退款订单操作人")
    private Long operatorId;

    public void setPayId(Long payId) 
    {
        this.payId = payId;
    }

    public Long getPayId() 
    {
        return payId;
    }

    public void setRegisId(Long regisId) 
    {
        this.regisId = regisId;
    }

    public Long getRegisId() 
    {
        return regisId;
    }

    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }

    public void setAmount(Long amount) 
    {
        this.amount = amount;
    }

    public Long getAmount() 
    {
        return amount;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setPaymentMethod(Long paymentMethod) 
    {
        this.paymentMethod = paymentMethod;
    }

    public Long getPaymentMethod() 
    {
        return paymentMethod;
    }

    public void setPayTime(Date payTime) 
    {
        this.payTime = payTime;
    }

    public Date getPayTime() 
    {
        return payTime;
    }

    public void setOperatorId(Long operatorId) 
    {
        this.operatorId = operatorId;
    }

    public Long getOperatorId() 
    {
        return operatorId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("payId", getPayId())
            .append("regisId", getRegisId())
            .append("uid", getUid())
            .append("amount", getAmount())
            .append("status", getStatus())
            .append("paymentMethod", getPaymentMethod())
            .append("payTime", getPayTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("operatorId", getOperatorId())
            .toString();
    }
}
